webapp: Remove support for local pairing
authorJoey Hess <joeyh@joeyh.name>
Mon, 29 Sep 2025 16:42:48 +0000 (12:42 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 29 Sep 2025 16:56:54 +0000 (12:56 -0400)
commit8ea6d7acc548cb35b4905c9c663e8a7de66ac752
tree42f9953e9bca048404b83b6800ae71ea02de3114
parent1f7e5fa9a2677fe7d42673b56699e16cae27e661
webapp: Remove support for local pairing

As a feature only supported by the webapp, and not by git-annex at the
command line, this is by now a very obscure corner of git-annex, and not
one I want to keep maintaining.

It's worth removing it to avoid the security expsure alone. People using
the assistant w/o the webapp probably don't expect it to be listening on
a UDP port for a handrolled protocol, but it was.

The webapp has supported pairing via magic-wormhole since 2016, which
makes a link including between local computers, albeit with the overhead
of tor. That sort of covers the same use case. Of course advanced users
can easily enough add a ssh remote to their repository themselves, using
a hostname on the local network.

Sponsored-by: unqueued
20 files changed:
Assistant.hs
Assistant/Pairing/MakeRemote.hs [deleted file]
Assistant/Pairing/Network.hs [deleted file]
Assistant/Threads/PairListener.hs [deleted file]
Assistant/WebApp/Configurators/Pairing.hs
Assistant/WebApp/routes
BuildFlags.hs
CHANGELOG
debian/control
doc/assistant.mdwn
doc/assistant/local_pairing_walkthrough.mdwn [deleted file]
doc/assistant/remote_sharing_walkthrough.mdwn
doc/bugs/Local_network___40__ssh__41___fails_to_pair__47__sync.mdwn
doc/todo/remove_webapp.mdwn
git-annex.cabal
stack.yaml
templates/configurators/addrepository/misc.hamlet
templates/configurators/pairing/disabled.hamlet [deleted file]
templates/configurators/pairing/local/inprogress.hamlet [deleted file]
templates/configurators/pairing/local/prompt.hamlet [deleted file]